package com.hhz.lambda.part1;

/**
 * @Author Rem
 * @Date 2020-02-10
 */

public class FilterEmployeeBySalary implements MyPredicate<Employee> {
    @Override
    public boolean test(Employee employee) {
        return employee.getSalary() > 5000;
    }
}
